//
//  SurveyItemCell.m
//  HZHome
//
//  Created by SunShine on 13-10-18.
//  Copyright (c) 2013年 xzysun. All rights reserved.
//  民情调查列表单元格展示类
//

#import "SurveyItemCell.h"

@implementation SurveyItemCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)layoutSubviews
{
    [super layoutSubviews];
    //这里需要重新控制下imageView的尺寸，防止SDWebImage自动调整的图片尺寸不正确
    self.imageView.bounds = CGRectMake(8.0, 10.0, 88.0, 68.0);
    self.imageView.frame = CGRectMake(8.0, 10.0, 88.0, 68.0);
    self.imageView.contentMode = UIViewContentModeScaleToFill;
}
@end
